package com.hnl.core.connection;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class HNLDBConnectionManager extends DBConnectionManager {
	public static final Logger LOG = LoggerFactory
			.getLogger(HNLDBConnectionManager.class);

	private static HNLDBConnectionManager instance; // singleton

	synchronized public static HNLDBConnectionManager getInstance() {
		if (instance == null) {
			instance = new HNLDBConnectionManager();
		}
		return instance;
	}

	private HNLDBConnectionManager() {
		super(DEFAULT_MAX_CONNECTION, TIMEOUT_CHECK);
	}

	public static final int DEFAULT_MAX_CONNECTION = 10;
	public static final int TIMEOUT_CHECK = 10;

}
